package com.molichuxing.services.infrastructure.service;

import com.molichuxing.framework.service.RootService;
import com.molichuxing.services.infrastructure.dto.response.InvoiceDetailDto;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 发票申请 服务类
 * </p>
 *
 * @author zhaopenghui
 * @since 2019-09-20
 */
public interface InvoiceDetailService extends RootService {


    /**
     * 通过流水号查询发票信息
     *
     * @param invoiceSerialNumber
     * @return
     */
    public InvoiceDetailDto getInvoiceDetailBySerialNumber(String invoiceSerialNumber);

    /**
     * 通过流水号查询发票信息
     *
     * @param list
     * @return
     */
    public Map<String, InvoiceDetailDto> getInvoiceDetailMapBySerialNumber(List<String> list);

}
